cmake_minimum_required(VERSION 3.9)
project(socket C)

set(CMAKE_C_STANDARD 99)

add_executable(socket main.c)

find_package(Threads REQUIRED)
target_link_libraries(socket Threads::Threads)